FROM nginx

# 设置工作目录
WORKDIR /usr/share/nginx/html

# 将前端的 dist 文件夹内容复制到 Nginx 静态资源目录
COPY ./web/dist /usr/share/nginx/html

# 拷贝 Nginx 配置文件到容器
COPY ./docker_env/nginx/my.conf /etc/nginx/conf.d/my.conf
